<template>
  <div>
      <Play></Play>
      <router-view></router-view>
    <div class="nav">
      <van-tabbar
        v-model="active"
        active-color="#ff6034"
        inactive-color="#000"
      >
        <van-tabbar-item to="/home/rec" icon="home-o">推荐</van-tabbar-item>
        <van-tabbar-item to="/home/search" icon="search">搜索</van-tabbar-item>
        <van-tabbar-item to="/home/mine" icon="friends-o">我的</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
</template>

<script>
import Play from '../Play/Play.vue'
export default {
    data(){
        return{
            active: 0
        }
    },
    components:{
      Play
    }
};
</script>

<style>
</style>